﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TreasureMapBackground.xaml.cs" company="Microsoft Corporation">
//   Copyright Microsoft Corporation. All Rights Reserved. This code released under the terms of the Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) This is sample code only, do not use in production environments.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace Microsoft.ALMRangers.VsarTreasureMap.WindowsStoreApp.Views
{
using Windows.UI.Xaml;

    /// <summary>
    /// The treasure map background.
    /// </summary>
    public sealed partial class TreasureMapBackground
    {
        /// <summary>
        /// The offset property
        /// </summary>
        public static readonly DependencyProperty OffsetProperty = DependencyProperty.Register("Offset", typeof(double), typeof(TreasureMapBackground), new PropertyMetadata(0));

        /// <summary>
        /// Initializes a new instance of the <see cref="TreasureMapBackground"/> class.
        /// </summary>
        public TreasureMapBackground()
        {
            this.InitializeComponent();
        }

        /// <summary>
        /// Gets or sets the offset.
        /// </summary>
        /// <value>The offset.</value>
        public double Offset
        {
            get { return (double)GetValue(OffsetProperty); }
            set { SetValue(OffsetProperty, value); }
        }
    }
}
